home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / AppleScript / Additions / ACME Script Widgets 1.0 / Offsets of ƒ / Offsets Of READ ME! < prev    next >
Encoding:
Text File  |  1994-11-02  |  1.9 KB  |  58 lines  |  [ttro/ttxt]

  1.  
  2. ____________________________________________________
  3.  
  4.     Offsets Of ver. 1.0
  5.  
  6.         Copyright (C) 1994 Wayne Walrath
  7.  
  8. ____________________________________________________
  9.  
  10. This software is free for personal use. To obtain a cheap and simple license for
  11. corporate, commercial or institutional use, contact the author at one of the
  12. addresses listed at the end of this document. THIS SOFTWARE IS PROVIDED AS IS
  13. WITHOUT WARRANTIES. USE AT YOUR OWN RISK! You are encouraged to share this
  14. software with other people and to upload it to online services, but you may not
  15. charge money for it and you should only transfer the complete package. Contact
  16. me if you doubt whether you have a complete package. Inclusion on CD-ROMs
  17. requires explicit permission from me (the author).
  18.  
  19. Offsets OF is an AppleScript Scripting Addition (OSAX) which searchs a string
  20. or list of strings for a pattern and returns a list of offsets (or a list of
  21. lists of offsets) where the pattern was found in the strings.
  22.  
  23.  
  24. INSTALLATION:
  25. ______________________
  26. To install: Drag Tokenize to the Scripting Additions folder inside the
  27. Extensions folder.
  28.  
  29.  
  30.  
  31. USAGE:
  32. _______________
  33.  
  34. offsets of <string> in <string>|<list of strings> 
  35.                                 [ case sensitive/insensitive ]
  36.  
  37. If the case parameter is not specified it defaults to sensitive; that
  38. is, case IS significant, so "and" is not the same as "AND".
  39.  
  40. You may pass a single string or a list of strings to search in, and there is no
  41. pre-set upper limit on the length of those strings.
  42.  
  43. For examples of using Offsets Of, see the demo script included with this
  44. archive.
  45.  
  46. ______________________
  47. Comments, bug reports and suggestions are welcomed. If you have any ideas for useful Scripting Additions which haven't been written yet, send me a message describing your idea.
  48.  
  49.  
  50.     ___________________________
  51.         Wayne Walrath
  52.         2010 Ravenswood Dr.
  53.         Evansville, IN 47714
  54.         (812) 476-8610
  55.         walrath@cs.indiana.edu
  56.         CIS: 70233,3151 
  57.     ___________________________
  58.